"use strict";


function ServerBook() {
	this.type = 'ServerBook';
	this.ver = '1.0.0';
}


var mockData = {
	"001": {
		name: "<<tom and jerry>>",
		price: 1111,
		author: "jerry"
	},
	"002": {
		name: "<<war and peach>>",
		price: 2222,
		author: "xxx"
	},
}

ServerBook.prototype.getBookById = function(id) {
	return mockData[id];
}

module.exports = ServerBook;